/**
 * Override convention configuration
 * https://cli.vuejs.org/config/
 */


 let proxyObj = {};
  proxyObj['/']={
      ws:false,
      //配置后端的项目路径
      target:'http://localhost:8088',
      changeOrigin:true,
      pathRewrite:{
          '^/':''
      }
  };

module.exports = {
      devServer:{
        host:'localhost',
        //前端的端口号
        port:8081,
        proxy:proxyObj
    }
  }
